<template>
  <div class="banner">
    <img :src="src" alt="" srcset="">
    <div class="line"></div>
  </div>
</template>
<script>
  export default {
    name: "Banner",
    props:{
        src:{
            type:String,
            default:''
        }
    },
    components: {
    },
    data() {
      return {
      
      };
    },
  };
</script>
<style lang="scss" scoped>
.banner{
    margin: auto;
    img{
        display: block;
        width: 100%;
    }
}
.line{
    height: 9px;
    background: linear-gradient(#079072, #21836a);
}

</style>